<?php

/**
 * 
 * Enter description here ...
 * @author crackerjack
 *
 */
class TechnoCoders_Bootcamp extends Zend_Application_Bootstrap_Bootstrap
{
	/**
	 * 
	 * Enter description here ...
	 */
	public function _initModels()
	{
		$resourceLoader = new Zend_Loader_Autoloader_Resource(array(
		    'basePath'  => APP_DIR . '/models/App',
		    'namespace' => 'App',
		));
		$resourceLoader->addResourceType('db','Db/','Db');
		$resourceLoader->addResourceType('controller','Controller/','Controller');
		return $resourceLoader;
	}
	
	/**
	 * Enter description here...
	 *
	 */
	public function _initLibrary()
	{
		$lib = Zend_Loader_Autoloader::getInstance();
		$lib->registerNamespace('Techno');
		return $lib;
	}
	
	/**
	 * 
	 * Enter description here ...
	 */
	public function _initSession()
	{
		Zend_Session::start();
	}
	
	/**
	 * 
	 * Enter description here ...
	 */
	/*public function _initRouter()
	{
		$router = new Zend_Controller_Router_Rewrite();	
		$router->addRoute('auth', new Zend_Controller_Router_Route_Static(
			'auth', array('controller' => 'index' , 'action' => 'auth')
		));
		return $router;
	}*/
}



?>